def add(num1, num2):
    return num1 + num2

def sub(num1, num2):
    return num1 - num2


def mult(num1, num2):
    return num1 * num2

def divide(num1, num2):

    # if(num2 == 0):
    #     raise ZeroDivisionError('被除数不能为0')

    try:
        value = num1 / num2
    except ZeroDivisionError as e:
        print(f'不能除0 , {e}')
        value = 0
    finally:
        print(f'{num1} / {num2}')
    return value